﻿using System;
using System.Collections;
using RAP.Framework.Libary.DomTemplateBuilder.Interface;

namespace RAP.Framework.Libary.DomTemplateBuilder.ContentRender
{
	/// <summary>
	/// 内容处理执行器接口
	/// </summary>
	public interface IContentRender
    {
		string Name { get; set; }
        string DoRender ( string content, object rootParamObject, object parentParamObject, ITemplateRenderContext context );
		Func<object, object, ITemplateRenderContext, string> CompileRender ( string content );
    }
}
